/* api code */
.api-code {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  //background-color: #4f576e;
  background-color: #373e52;
  color: #fff;
  transition: background-color .3s ease-out;
}
.api-code-header {
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 16px;
  min-height: 40px;
  font-size: 12px;
  border-radius: 6px 6px 0 0;
  //color: #fff;
  //background-color: #5c6580;
  background-color: #434b61;
  -webkit-transition: color .3s ease-out,background-color .3s ease-out;
  transition: color .3s ease-out,background-color .3s ease-out;
}
.api-code-header-title {
  flex: 1 1 auto;
}

.api-code-content {
  padding: 5px 20px 20px;
}

.api-code-url {
  display: flex;
  position: relative;
  line-height: 22px;
  font-size: 13px;
  padding: 10px 0;
  font-family: Consolas,Monaco,monospace;
  border-bottom: 1px solid #5d6479;
  word-break: break-all;
  transition: background-color .3s ease-out;
}

.api-code-param {

}

.api-code-copy {
  font-size: 13px;
  display: flex;
  width: 22px;
  height: 22px;
  position: absolute;
  right: 0;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #acb3bd;
  //background-color: #00A0E9;
  transition: background-color .3s ease-out,opacity .3s ease-out;
}
.api-code-copy:hover {
  cursor: pointer;
  color: #d8deec;
  background-color: #2f2f2f;
}

.api-code-check {
  transition: background-color .3s ease-out,opacity .3s ease-out;
}
.api-code-check:hover {
  color: #d8deec;
  background-color: #2f2f2f;
}

.api-code-param {
  position: relative;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  margin: 12px 0 20px;
}

.api-code-param ul {
  display: flex;
}

.api-code-param li + li {
  margin-left: 8px;
}

.api-code-param li {
  cursor: pointer;
  width: 56px;
  height: 24px;
  border-radius: 3px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  background: transparent;
  transition: background 0.3s ease-out 0s;
}

.api-code-param li.active {
  background: rgb(110, 121, 153);
}
